package factory.abstract_factory;

/**
 * 
 * 
 * @author insight 
 * @since 2021/4/22
 */
public class HuaWeiProductFactory implements ProductFactory {

    @Override
    public Phone producePhone() {
        System.out.println(">>>>>>生产华为手机");
        return new HuaWeiPhone();
    }

    @Override
    public Router produceRouter() {
        System.out.println(">>>>>>生产华为路由器");
        return new HuaWeiRouter();
    }
}